import request from "@/utils/request";

/**
 * @description 用户情况分析
 * @returns {*}
 */
export function personalSituationAnalysis(){
    return request({
        url:'/statistics/personalSituationAnalysis',
        method:'GET',
    })
}

/**
 * ⽤⼾⼤数据
 * @returns {*}
 */
export function personalData(){
    return request({
        url:'/statistics/personalData',
        method:'GET',
    })
}

/**
 * 用户增长趋势
 * @returns {*}
 */
export function userGrowthTrend(){
    return request({
        url:'/statistics/userGrowthTrend',
        method:'GET',
    })
}

/**
 * 累计注册用户数
 * @returns {*}
 */
export function accumulatedNumberOfRegisteredUsers(){
    return request({
        url:'/statistics/accumulatedNumberOfRegisteredUsers',
        method:'GET',
    })
}

export function userChargingLocation(){
    return request({
        url:'/statistics/userChargingLocation',
        method:'GET',
    })
}

/**
 * 充电满意度评价
 * @returns {*}
 */
export function satisfactionWithChargingEvaluation(){
    return request({
        url:'/statistics/satisfactionWithChargingEvaluation',
        method:'GET',
    })
}

/**
 * 用户实时大数据
 * @returns {*}
 */
export function personalDatRealTime(){
    return request({
        url:'/statistics/personalDatRealTime',
        method:'GET',
    })
}

/**
 * 用户活跃度
 * @returns {*}
 */
export function userinfoActivity(){
    return request({
        url:'statistics/userinfo/activity',
        method:'GET',
    })
}

/**
 * 用户来源
 * @returns {*}
 */
export function userSource(){
    return request({
        url:'statistics/userSource',
        method:'GET',
    })
}

/**
 * 用户流失原因
 * @returns {*}
 */
export function reasonsForLoss(){
    return request({
        url:'statistics/userinfo/reasonsForLoss',
        method:'GET',
    })
}
